import { BASE } from './api'
import { METHOD, request } from '@/utils/request'

export async function violationPage(params) {
    return request(`${BASE}/notice/violation/page`, METHOD.POST, params)
}

export async function violationSave(params) {
    return request(`${BASE}/notice/violation/save`, METHOD.POST, params)
}

export async function violationMax(params) {
    return request(`${BASE}/notice/violation/max`, METHOD.POST, params)
}

export default { violationPage ,violationSave,violationMax}